package com.schoolvisitors.repository;

import com.schoolvisitors.entity.RegisterToken;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface RegisterTokenRepository extends JpaRepository<RegisterToken, Integer> {
    RegisterToken findByToken(String token);
}
